//
//  JFBSettlementDetailsDS.h
//  ios-supplier
//
//  Created by Benlai on 15/8/30.
//  Copyright (c) 2015年 feynmanyuan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JFBSettlementDetailsDS : NSObject

@property (nonatomic, assign) NSUInteger balance_id; // 1序号
//
@property (nonatomic, strong) NSDecimalNumber *balance_price;

@property (nonatomic, assign) NSInteger coupon_amount;

@property (nonatomic, strong) NSString *create_at;

@property (nonatomic, assign) NSInteger discount_amount;

@property (nonatomic, strong) NSDecimalNumber *freight; // 4配送费

@property (nonatomic, assign) NSInteger ID;

@property (nonatomic, strong) NSDecimalNumber *instead_price; // 5代购费

@property (nonatomic, assign) NSNumber *long_distribution; // 9配送时长

@property (nonatomic, strong) NSDecimalNumber *settle_price; // 3商品金额

@property (nonatomic, strong) NSString *so_create_at; // 7订单生成时间

@property (nonatomic, strong) NSString *so_finish_at; // 8订单完成时间

@property (nonatomic, assign) NSInteger so_id; // 2订单编号

@property (nonatomic, strong) NSString *so_number;

@property (nonatomic, strong) NSDecimalNumber *so_bonus;//补贴

@property (nonatomic, strong) NSDecimalNumber *so_fine;//扣款

@property (nonatomic, strong) NSDecimalNumber *transfer_bonus;//调单补贴


@property (nonatomic, strong) NSDecimalNumber *total_price; //

@property (nonatomic, strong) NSString *update_at;
- (instancetype)initWithAttributes:(NSDictionary *)attributes;
+ (NSURLSessionDataTask *)loadSettlementDetail:(void (^)(NSArray *statisticsList, NSError *error))block balanceID:(NSUInteger)balance_id;

@end
